/*
 * Shower.java
 *
 * Created on 26 de Dezembro de 2008, 01:12
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package trigger.utils;

import trigger.gui.ErrorShowGUI;

/**
 *
 * @author vinicius
 */
public class ShowerThread implements Runnable{
    
    private boolean show;
    private ErrorShowGUI errorshowgui;
    
    public ShowerThread(ErrorShowGUI errorshowgui) {
        show = false;
        this.errorshowgui = errorshowgui;
    }

    public void run() {
        errorshowgui.setVisible(true);
        errorshowgui.toFront();
        setShow(false);
    }

    public boolean isShow() {
        return show;
    }

    public void setShow(boolean show) {
        this.show = show;
    }
    
}
